// with polyfills
import 'core-js/stable'
import 'regenerator-runtime/runtime'

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store/'
import { VueAxios } from './utils/request'

// import 'ant-design-vue/dist/antd.less'
import bootstrap from './core/bootstrap'
import './core/lazy_use'
// import './permission' // 需要登录验证/动态菜单权限时开启
import './utils/filter' // 过滤器
import './components/global.less'
import { Dialog } from '@/components'

Vue.config.productionTip = false
Vue.use(VueAxios)
Vue.use(Dialog)

new Vue({
  router,
  store,
  created: bootstrap,
  render: h => h(App)
}).$mount('#app')
